//
//  AViewController.swift
//  组件化测试
//
//  Created by Red App on 2019/1/9.
//  Copyright © 2019 CEC-CESEC. All rights reserved.
//

import UIKit

public class AViewController: FatherVc {

    public var hello: String?
    
    override public func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        view.backgroundColor = .gray
        
        print(hello ?? "")
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */
    
    public override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
        guard let result = resultB else { return }
        return result(["A": "Hello" as AnyObject])
    }

}
